import api from "./api";
import request from "../../base/utils/request";


export const getPresigned = (name: string) => {
  return request(api.presignedUrl, {
    params: { name },
  });
};

export const getUrl = (name: string)=> {
  return request(api.getUrl, {
    params: { name },
  });
};
